<%@ taglib prefix="s" uri="/struts-tags"%>

<ul data-role="listview">
	<li>
		<ul class="rslides" id="slider1">
					<s:if test="%{entityBean.gallery!=null}">
						<s:iterator begin="1" value="entityBean.gallery.medias">
						<li><img
							src="${url}"
							alt="">
							<div class="caption">${entityBean.name}</div>
						</li>
						</s:iterator>
				</s:if>

		</ul>
	</li>
	<li>
		<div class="align-center">
			<button
				class="custom-btn ui-btn ui-btn-c ui-btn-inline ui-corner-all ui-icon-tag ui-btn-icon-left ">${entityBean.difficulty.name}</button>
			<button
				class="custom-btn ui-btn ui-btn-c ui-btn-inline ui-corner-all ui-icon-clock ui-btn-icon-left ">${entityBean.duration}</button>
		</div>
	</li>
	<li>
    				<s:if test="%{entityBean.web !=null && entityBean.web != ''}">
    					<li><div class="title2 color-gray">Web</div><div class="title1"><a href="${entityBean.web}" rel="external">${entityBean.web}</a></div></li>
    				</s:if>
    				</li>
	<li><div class="title2 color-gray">Descrizione</div>
		<div class="white-space-normal" class="title1">${entityBean.description}</div></li>

</ul>






<script type="text/javascript">
	$(document).on('pageinit', function() {
		$("#slider1").responsiveSlides({
			maxwidth : 600,
			speed : 800
		});
					
	});
	
	
</script>

